You are here: Symbol Reference > dtSearch.Engine Namespace > Classes > SearchResults Class > SearchResults Methods > AddDoc Method
Close
dtSearch .NET Standard API 2024.02
SearchResults.AddDoc Method

Add a document to SearchResults.

public void AddDoc( string indexPath, int docId, int[] hits );
Parameters
Description
indexPath
Path of the index that contains this document.
docId
Document id of the document in the index.
hits
Word offset of the hits in this document.
Copyright (c) 1998-2023 dtSearch Corp. All rights reserved.